using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace DaViL.Controls
{
    public class ChartLine
    {
        public ChartLine()
        {
            Random rnd = new Random(this.GetHashCode() + Environment.TickCount);
            
            _points = new List<ChartPoint>();
            _color = Color.FromArgb(rnd.Next(255), rnd.Next(255), rnd.Next(255));
            _description = "Bruno Fortunato";
        }

        public ChartLine(string description)
            : this()
        {
            _description = description;
        }
        
        private string _description;

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        private Color _color;

        public Color Color
        {
            get { return _color; }
            set { _color = value; }
        }

        private List<ChartPoint> _points;

        public List<ChartPoint> Points
        {
            get { return _points; }
            set { _points = value; }
        }


    }

    

}
